﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	x:Class="JBot.Dialogs.AddContactWindow"
	x:Name="Window"
	Title="Add"
	Width="310" Height="168" mc:Ignorable="d">
	<Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="33*" />
            <RowDefinition Height="33*" />
            <RowDefinition Height="33*" />
            <RowDefinition Height="33*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="68*" />
            <ColumnDefinition Width="107*" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="93*" />
        </Grid.ColumnDefinitions>
        <Label Content="@" Grid.Column="2" VerticalAlignment="Center" />
        <Label Content="Nickname" VerticalAlignment="Center" Height="26.5" Grid.Row="1" />
        <Label VerticalAlignment="Center" Content="Group" Grid.Row="2" />
        <Label Content="JID" VerticalAlignment="Center" />
        <TextBox x:Name="textBoxUsername" TextWrapping="Wrap" Grid.Column="1" VerticalAlignment="Center" KeyDown="textBoxUsername_KeyDown" />
        <ComboBox x:Name="comboBoxServername" VerticalAlignment="Center" Grid.Column="3" IsEditable="True" />
        <TextBox x:Name="textBoxNickname" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="3" />
        <ComboBox x:Name="comboBoxGroup" VerticalAlignment="Center" Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="3" IsEditable="True" />
        <Button x:Name="buttonOk" Margin="0,0,70,8" VerticalAlignment="Bottom" Content="OK" HorizontalAlignment="Right" Width="57.5" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="3" Click="buttonOk_Click" />
        <Button x:Name="buttonCancel" HorizontalAlignment="Right" Margin="0,0,8,8" VerticalAlignment="Bottom" Width="57.5" Content="Cancel" Grid.Column="3" Grid.Row="3" Click="buttonCancel_Click" />
    </Grid>
</Window>